/*src/styles/home.css */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    margin-top: 0;
    color: #7f8c8d;
    font-size: 16px;
}

.stat-card p {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 0;
    color: #2c3e50;
}
.carousel-container {
    position: relative;
    width: 889px;
    height: 500px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.indicators {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 100;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    text-align: center;
}

.caption h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.caption p {
    font-size: 16px;
    opacity: 0.9;
}

.auto-play-control {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    backdrop-filter: blur(5px);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
    user-select: none;
}

.auto-play-control:hover {
    background: rgba(255, 255, 255, 0.3);
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 100;
    transition: width 0.1s linear;
}